package com.wf.demo.info.dao;
import com.wf.demo.info.pojo.Model;
import org.springframework.data.jpa.repository.JpaRepository;


public interface ModelDAO extends JpaRepository<Model, Integer> {
    Model findFirstByOrderByIdDesc();
    Model findByModelName(String modelName);
    Model findByModelNumber(String modelNumber);
}
